<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form action="{{ url_for('login') }}" method="POST">
    {{ form.csrf_token }}
    <div>
        <label>{{ form.uesrname.label }}</label>
        {{ form.uesrname }}
    </div>
    <div>
        <label>{{ form.password.label }}</label>
        {{ form.password }}
    </div>
    <input type="submit" value="Login">
</form>

</body>
</html>